/*
 * @Author: H.
 * @Date: 2021-12-06 18:12:03
 * @LastEditTime: 2021-12-13 16:32:37
 * @Description:
 */
type IFormType = 'input' | 'password' | 'select' | 'datePicker'
export interface IFormItem {
  label: string
  rules?: any[]
  placeHolder?: any
  type: IFormType
  // 针对select
  options?: any[]
  // 针对特殊的属性
  otherOptions?: any
  field: string
  isHidden?: boolean
}

export interface IForm {
  formItems: IFormItem[]
  labelWidth?: string
  colLayout?: any
  itemStyle?: any
}
